<template>
  <div>
    <button @click="handler1">原生dom事件</button>
    <TypeNav @click="handler2">绑定在组件上的事件</TypeNav>
  </div>
</template>

<script>
export default {}
</script>

<style>
</style>